﻿using AliCharacter_recognition.Utils.UserUtils.AliUser;
using CatUtils.Utils.Enhance.Encrypt;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AliCharacter_recognition.Utils.UserUtils
{
    public partial class ConfigFrom : Form
    {
        public ConfigFrom()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            ConfigurationEncrypt.SaveCofiguration(textBox1.Text,UserAliOssHelper.UserAccessKeyId,true,true);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            ConfigurationEncrypt.SaveCofiguration(textBox2.Text, UserAliOssHelper.UserAccessKeySecret, true, true);
        }
    }
}
